Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Functions That Modify Movie Properties / Working With Movie User Data


CountUserDataType

The CountUserDataType function allows you to determine the number of items of a given type in a user data list.

pascal short CountUserDataType (UserData theUserData, 
                                 OSType udType);
theUserData
Specifies the user data list for this operation. You obtain this list reference by calling the GetMovieUserData, GetTrackUserData, or GetMediaUserData function (described on page 2-215, page 2-216, and page 2-217, respectively).
udType
Specifies the type. The Movie Toolbox determines the number of items of this type in the user data list.
DESCRIPTION
The CountUserDataType function returns a short integer that contains the number of items of the specified type in the user data list.

ERROR CODES
None


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996